home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 5 (Internal Edition)
/
Apple R&P Lib Internal v5.0.iso
/
6-Developer Demos
/
Developer Demos-Ed.
/
Macintosh School® CD-ROM Demo
/
Macintosh SchoolÆ CD-ROM Demo
/
card_105780.txt
< prev
next >
Wrap
Text File
|
1990-08-14
|
7KB
|
307 lines
-- card: 105780 from stack: in
-- bmap block id: 106488
-- flags: 4000
-- background id: 14423
-- name: Consolidation…
----- HyperTalk script -----
on closeCard
put empty into card field 1
set hilite of card button 6 to false
set hilite of card button 7 to false
set hilite of card button 8 to true
repeat with index = 9 to 13
set hilite of card button index to false
end repeat
set hilite of card button "Percentages" to true
set hilite of card button "Letter Grades" to false
end closeCard
on groupOne shiftKey
if (the shiftKey is down) or (shiftKey is down) then
set hilite of target to not hilite of target
else
if not hilite of target then
set hilite of card button 6 to false
set hilite of card button 7 to false
set hilite of target to true
end if
end if
end groupOne
on groupTwo
repeat with index = 8 to 13
set hilite of card button index to false
end repeat
set hilite of target to true
end groupTwo
on tabKey
select text of card field 1
end tabKey
-- part 1 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=0 right=342 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 2 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=305 top=253 right=271 bottom=387
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Consolidate
----- HyperTalk script -----
on mouseUp
lock screen
set cursor to watch
repeat with index = 8 to 13
if hilite of card button id index then exit repeat
end repeat
if hilite of card button id index then
put short name of card button index into binName
put card field 1 into taskName
go to card binName of this background
if the result is empty then
doMenu "New Task"
put taskName into card field 1
pop card
repeat with index = 5 to 8
if background field id index = binName then
add 1 to background field id (index + 4)
add 1 to background field "Tasks"
exit repeat
end if
end repeat
else pop card
end if
unlock screen
set cursor to hand
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=305 top=281 right=299 bottom=387
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Cancel
----- HyperTalk script -----
on mouseUp
lock screen
pop card
unlock screen
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: C006
-- rect: left=71 top=268 right=284 bottom=184
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Percentages
----- HyperTalk script -----
on mouseUp
set hilite of card button "Letter grades" to false
set hilite of me to true
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 8006
-- rect: left=71 top=284 right=300 bottom=184
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Letter grades
----- HyperTalk script -----
on mouseUp
set hilite of card button "Percentages" to false
set hilite of me to true
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=73 top=161 right=177 bottom=232
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp shiftKey
groupOne shiftKey
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=73 top=193 right=209 bottom=232
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp shiftKey
groupOne shiftKey
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: 4000
-- rect: left=265 top=145 right=161 bottom=424
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Assignments
----- HyperTalk script -----
on mouseUp
groupTwo
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=265 top=161 right=177 bottom=424
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Exams
----- HyperTalk script -----
on mouseUp
groupTwo
end mouseUp
-- part 10 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=265 top=177 right=193 bottom=424
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Term 1 Mark
----- HyperTalk script -----
on mouseUp
groupTwo
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=265 top=193 right=209 bottom=424
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 12 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=265 top=209 right=225 bottom=424
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 13 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=265 top=225 right=241 bottom=424
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 14 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=74 top=83 right=101 bottom=438
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: